package com.cykj.v_m_sprintboot.serviceIml;

import com.cykj.v_m_sprintboot.bean.TbCommorityCategory;
import com.cykj.v_m_sprintboot.mapper.TbCommodityCategoryMapper;
import com.cykj.v_m_sprintboot.service.TbCommodityCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;
@Service
public class TbCommodityCategoryServicelml implements TbCommodityCategoryService {
    @Autowired
    private TbCommodityCategoryMapper tbCommodityCategoryMapper;

    @Override
    public List<TbCommorityCategory> categorylist() {

        return tbCommodityCategoryMapper.categorylist();
    }

    @Override
    public List<TbCommorityCategory> selCommCatList(int vmid) {
        return tbCommodityCategoryMapper.selCommCatList(vmid);
    }
}
